]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Switch to stable libsecret API
authorMichael Biebl <biebl@debian.org>
Mon, 15 May 2017 05:12:12 +0000 (07:12 +0200)
committerMichael Biebl <biebl@debian.org>
Sun, 21 May 2017 02:49:11 +0000 (04:49 +0200)
Most of the libsecret API was declared stable in 0.18 and the stable API
now provides everything we need, so switch from libsecret-unstable to
libsecret-1.

https://bugzilla.gnome.org/show_bug.cgi?id=782637

configure.ac
src/shell-network-agent.c

index ede41194fff2b34b917aab2fd9221dcd23685f97..ffbc1a4cada2990c281a7b2531345c2ad2775f49 100644 (file)
@@ -190,7 +190,7 @@ if test "x$enable_networkmanager" != "xno"; then
                      [libnm-glib
                      libnm-util >= $NETWORKMANAGER_MIN_VERSION
                      libnm-gtk >= $NETWORKMANAGER_MIN_VERSION
-                     libsecret-unstable],
+                     libsecret-1 >= 0.18],
                      [have_networkmanager=yes],
                      [have_networkmanager=no])
 
index 0fd028f7be4f871c1416dcf86f523729cccfee41..4862b6d0d7fb1a56141a487d641267aecfba305c 100644 (file)
@@ -23,8 +23,6 @@
 #include <string.h>
 #include <dbus/dbus-glib.h>
 
-/* For use of unstable features in libsecret, until they stabilize */
-#define SECRET_API_SUBJECT_TO_CHANGE
 #include <libsecret/secret.h>
 
 #include "shell-network-agent.h"